package me.trytofeel.service;

import me.trytofeel.bean.Video;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface VideoService {
    boolean insertVideo(Video video);

    boolean deleteVideoById(int id);

    boolean updateVideo(Video video);

    List<Video> selectAllVideos();

    Video selectVideoById(int id);
}
